package com.mz.ozy.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 首页关注商户列表
 */
public class HomeMerBean {

    /**
     * bannerList : [{"img_url":"http://192.168.1.171:8089/abc/mall/upload/img/1577173791165.png","created":"2019-12-12 15:58:26.0","link":"11","id":2,"state":0,"sort":1,"type":3,"ltype":1},{"img_url":"http://192.168.1.171:8089/abc/mall/upload/img/1577173791165.png","created":"2019-12-24 16:06:51.0","link":"11","id":8,"state":0,"sort":2,"type":3,"ltype":1}]
     * msgList轮播平台消息 : type(轮播图位置3商城轮播图4商城分类导航),img_url(图片地址),state(是否关闭0否1是),link(链接地址),ltype(链接类型0-商品 1-商品分类2-品牌分类3-品牌列表4-文章分类5-文章6-商家分类7-商家-8外链)
     * respMsg : SUCCESS
     * specialList : [{"ztname":"每日特惠","template":3,"pList":[],"sort":1},{"ztname":"超值拼购","template":3,"pList":[],"sort":2},{"ztname":"排行榜","template":3,"pList":[],"sort":3},{"ztname":"精选好物","template":1,"pList":[],"sort":4},{"ztname":"精选热门","template":5,"pList":[],"sort":5},{"ztname":"大牌旗舰","template":1,"pList":[],"sort":6}]
     * msgList : []
     * bannerList轮播图、canList分类导航图 : type(轮播图位置3商城轮播图4商城分类导航),img_url(图片地址),state(是否关闭0否1是),link(链接地址),ltype(链接类型0-商品 1-商品分类2-品牌分类3-品牌列表4-文章分类5-文章6-商家分类7-商家-8外链)
     * sessionId : F567D636F0E78D571DB4C8D06F77F2C9
     * specialList首页各个模块 : ztname(专题名称),ztname,template(模板类型0-多屏图片模块1,1-商品专题模块1,2-文章推荐模块1,3-综合推荐模块1,4-商品专题模块2,5-四图模块1,6-品牌模块1),pList(详情设置,ztname（名称）,title(标题),content(描述),img(图片),type(类型(0-商品1-商品分类2-品牌分类3-品牌列表4-文章分类5-文章6-商家7-外链),path(商品,分类,品牌ID))
     * respCode : 00000
     * cateList : [{"img_url":"http://192.168.1.171:8089/abc/mall/upload/img/1576649294910.png","created":"2019-12-17 14:00:10.0","link":"5","name":"冰箱","id":3,"state":0,"sort":4,"type":4,"ltype":1},{"img_url":"http://192.168.1.171:8089/abc/mall/upload/img/1576649312708.png","created":"2019-12-17 14:13:57.0","link":"5","name":"冰箱","id":7,"state":0,"sort":5,"type":4,"ltype":1},{"img_url":"http://192.168.1.171:8089/abc/mall/upload/img/1576649227356.png","created":"2019-12-17 14:00:35.0","link":"6","name":"空调","id":4,"state":0,"sort":1,"type":4,"ltype":1},{"img_url":"http://192.168.1.171:8089/abc/mall/upload/img/1576649242733.png","created":"2019-12-17 14:13:08.0","link":"7","name":"电脑","id":5,"state":0,"sort":2,"type":4,"ltype":1},{"img_url":"http://192.168.1.171:8089/abc/mall/upload/img/1576649280376.png","created":"2019-12-17 14:13:25.0","link":"8","name":"手机","id":6,"state":0,"sort":3,"type":4,"ltype":1}]
     */

    private List<BannerListBean> bannerList;
    private List<MsgListBean> msgList = new ArrayList<>();
    private List<BannerListBean> conAdverBannerList;
    private List<BannerListBean> vipBannerList;
    private List<CanListBean> cateList;
    private List<SpecialListBean> ztList0;
    private List<SpecialListBean> ztList1;
    private List<SpecialListBean> ztList2;
    private List<SpecialListBean> ztList3;
    private int buyCarNum;
    private int isPwd = 1;

    public int getIsPwd() {
        return isPwd;
    }

    public List<BannerListBean> getVipBannerList() {
        return vipBannerList;
    }

    public List<MsgListBean> getMsgList() {
        return msgList;
    }

    public String getContent() {
        return content;
    }

    private String content;

    public int getBuyCarNum() {
        return buyCarNum;
    }

    public List<BannerListBean> getConAdverBannerList() {
        return conAdverBannerList;
    }

    public List<BannerListBean> getBannerList() {
        return bannerList;
    }

    public void setBannerList(List<BannerListBean> bannerList) {
        this.bannerList = bannerList;
    }

    public List<SpecialListBean> getZtList() {
        return ztList2;
    }

    public void setZtList(List<SpecialListBean> ztList) {
        this.ztList2 = ztList;
    }

    public List<SpecialListBean> getZtList3() {
        return ztList3;
    }

    public void setZtList3(List<SpecialListBean> ztList3) {
        this.ztList3 = ztList3;
    }

    public List<SpecialListBean> getZtList1() {
        return ztList1;
    }

    public void setZtList1(List<SpecialListBean> ztList1) {
        this.ztList1 = ztList1;
    }

    public List<SpecialListBean> getZtList0() {
        return ztList0;
    }

    public void setZtList0(List<SpecialListBean> ztList0) {
        this.ztList0 = ztList0;
    }

    public List<CanListBean> getCateList() {
        return cateList;
    }

    public void setCateList(List<CanListBean> cateList) {
        this.cateList = cateList;
    }

    public static class BannerListBean {

        /**
         * img_url : http://192.168.1.171:8089/abc/mall/upload/img/1577173791165.png
         * created : 2019-12-12 15:58:26.0
         * link : 11
         * id : 2
         * state : 0
         * sort : 1
         * type : 3
         * ltype : 1
         */

        private String img_url;
        private String created;
        private String imgPath;
        private String link;
        private String modified;
        private String title;
        private int systemType;
        private String ref;
        private int state;
        private int sort;
        private int type;
        private int ltype;

        public String getImg_url() {
            return img_url;
        }

        public String getCreated() {
            return created;
        }

        public String getImgPath() {
            return imgPath;
        }

        public void setImgPath(String imgPath) {
            this.imgPath = imgPath;
        }

        public String getLink() {
            return link;
        }

        public String getModified() {
            return modified;
        }

        public String getTitle() {
            return title;
        }

        public int getSystemType() {
            return systemType;
        }

        public String getRef() {
            return ref;
        }

        public int getState() {
            return state;
        }

        public int getSort() {
            return sort;
        }

        public int getType() {
            return type;
        }

        public int getLtype() {
            return ltype;
        }
    }

   public static class SpecialList{
       private List<SpecialListBean> specialList;
       public List<SpecialListBean> getSpecialList() {
           return specialList;
       }

       public void setSpecialList(List<SpecialListBean> ztList) {
           this.specialList = ztList;
       }
   }
    public static class SpecialListBean {

        /**
         * "productid": "1,2,4",
         * "created": "2020-04-14 11:17:42.0",
         * "imgPath": "http://ozy.ozylives.com/ozy1586501418720",
         * "about": "有机食品",
         * "systemType": 1,
         * "modified": "2020-04-14 15:40:36.0",
         * "id": 3,
         * "sort": 0,
         * "isdelete": 0,
         * "title": "有机食品",
         * "productList": [{
         */

        private String productid;
        private String created;
        private String imgPath;
        private String about;
        private String modified;
        private String title;
        private int systemType;
        private int id;
        private int sort;
        private int isdelete;
        private List<ProductListBean> productList;

        public String getProductid() {
            return productid;
        }

        public String getCreated() {
            return created;
        }

        public String getImgPath() {
            return imgPath;
        }

        public String getAbout() {
            return about;
        }

        public String getModified() {
            return modified;
        }

        public String getTitle() {
            return title;
        }

        public int getSystemType() {
            return systemType;
        }

        public int getId() {
            return id;
        }

        public int getSort() {
            return sort;
        }

        public int getIsdelete() {
            return isdelete;
        }

        public List<ProductListBean> getProductList() {
            return productList;
        }
    }

    public static class ProductListBean {
        /*"tradename": "包子1",
                "price": "100.00",
                "weight": "10",
                "id": 1,
                "img_zt": "http://ozy.ozylives.com/ozy1585816317277",
                "described": "包子1"*/
        private int id;
        private String tradename;
        private String price;
        private String market_price;
        private String weight;
        private String img_zt;
        private String described;
        private String shopbv;

        public String getShopbv() {
            return shopbv;
        }
        public void setShopbv(String shopbv) {
            this.shopbv = shopbv;
        }
        public String getMarket_price() {
            return market_price;
        }
        public void setMarket_price(String market_price) {
            this.market_price = market_price;
        }
        public int getId() {
            return id;
        }
        public void setId(int id) {
            this.id = id;
        }
        public String getTradename() {
            return tradename;
        }
        public void setTradename(String tradename) {
            this.tradename = tradename;
        }
        public String getPrice() {
            return price;
        }
        public void setPrice(String price) {
            this.price = price;
        }
        public String getWeight() {
            return weight;
        }
        public void setWeight(String weight) {
            this.weight = weight;
        }
        public String getImg_zt() {
            return img_zt;
        }
        public void setImg_zt(String img_zt) {
            this.img_zt = img_zt;
        }
        public String getDescribed() {
            return described;
        }
        public void setDescribed(String described) {
            this.described = described;
        }
    }


    public static class CanListBean {

        /**
         * img_url : http://192.168.1.171:8089/abc/mall/upload/img/1576649294910.png
         * created : 2019-12-17 14:00:10.0
         * link : 5
         * name : 冰箱
         * id : 3
         * state : 0
         * sort : 4
         * type : 4
         * ltype : 1
         */

        private String img;
        private String created;
        private String link;
        private String name;
        private String title;
        private int id;
        private int state;
        private int sort;
        private int type;
        private int ltype;

        public String getTitle() {
            return title;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getCreated() {
            return created;
        }

        public void setCreated(String created) {
            this.created = created;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getLtype() {
            return ltype;
        }

        public void setLtype(int ltype) {
            this.ltype = ltype;
        }
    }

    public static class MsgListBean implements Serializable {
        private int id;//"id":1,
        private String title;//    "title":"123",
        private String content;//  "content":"3123"

        public String getCreated() {
            return created;
        }

        public void setCreated(String created) {
            this.created = created;
        }

        private String created;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }
    }
}
